/*!
 * Copyright (c) 2020 the original author or authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing
 * permissions and limitations under the License.
 */

@import 'media.scss';

.container {
  min-height: 650px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;

  .header-container {
    width: 100%;

    @include mobile {
      height: auto;
    }
  }
}

.app-list-container {
  display: grid;
  grid-template-columns: calc(50% - 20px) auto;
  column-gap: 20px;
  row-gap: 20px;

  &__header {
    grid-column: 1;
    grid-row: 1;
  }

  &__users {
    grid-column: 2;
    grid-row: 1 / 3;

    .app-table {
      min-height: 600px;
    }
  }

  &__models {
    grid-column: 1;
    grid-row: 2;
  }
}

.grid-container {
  display: flex;
  justify-content: space-between;

  mat-card {
    width: 49%;
    transform: perspective(1px)
  }

  app-model-list, app-application-user-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between
  }
}
